/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const sysRouter = {
  path: '/sys',
  component: Layout,
  redirect: 'noRedirect',
  name: 'sys',
  meta: {
    title: '系统管理',
    icon: 'component'
  },
  children: [
    {
      path: 'user',
      component: () => import('@/views/sys/user/index'),
      name: 'user',
      meta: {title: '用户管理'}
    },
    {
      path: 'dept',
      component: () => import('@/views/sys/dept/index'),
      name: 'dept',
      meta: {title: '部门管理'}
    },
    {
      path: 'dict',
      component: () => import('@/views/sys/dict/index'),
      name: 'dict',
      meta: {title: '字典管理'}
    }
  ]
}

export default sysRouter
